/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;
import com.exception.DataException;
import com.javabeans.Materia;
import java.util.List;
/**
 * @author Administrador.
 */
public interface MateriaManager {
    public int getIdMateria(int idCarrera) throws DataException;
    public void saveMateria(Materia m) throws DataException;
    public Materia getMateria(int idCarrera, int idMateria) throws DataException;
    public List<Materia> getMateriasPorCarrera(int idCarrera) throws DataException;
    public List<Materia> getMateriasInactivosPorCarrera(int idCarrera) throws DataException;
    public List<Materia> getMateriasPropuesto(int idPensum,int idCarrera) throws DataException;
    public void updateMateria(Materia m) throws DataException;
    public void deleteMateria(int idCarrera, int idMateria) throws DataException;
    public boolean isUseMateriaForDelete(int idCarrera, int idMateria) throws DataException;
    public void darBaja(int idCarrera, int idMateria) throws DataException;
    public void darAlta(int idCarrera, int idMateria) throws DataException;
    public List<Materia> getMateriasPorFacultadBasic(int idFacultad) throws DataException;
    public List<Materia> getMateriasPorGrupo(int idGestion, int idGrupo) throws DataException;
    
}
